import Vue from 'vue'
import Vuex from 'vuex'
import userModule from './user'
import videoModule from './video'
import commentModule from './comment'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    ip: 'http://localhost:3000/',
  },
  mutations:{},
  actions:{},
  modules: {
    m_user: userModule,
    m_video: videoModule,
    m_comment: commentModule,
  }
})
